package com.huike.review.service;

import com.huike.review.pojo.Review;
import com.huike.review.vo.MybatisReviewVO;

import java.util.List;

/**
 * mybatis复习接口层
 */
public interface ReviewService {


    Integer save(String name, Integer age, String sex);

    Integer save2(MybatisReviewVO mybatisReviewVO);

    int update(MybatisReviewVO mybatisReviewVO);


    int deleteById(Integer id);

    Review getById(Long id);

    List<Review> selectReview();

}
